//
//  ViewController.m
//  MenuViewController
//
//  Created by superlian on 16/8/11.
//  Copyright © 2016年 superlian. All rights reserved.
//

#import "ViewController.h"
#import "SLMenuLabel.h"

@interface ViewController ()


@property (nonatomic, strong) SLMenuLabel *testlabel;

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.testlabel = [[SLMenuLabel alloc] initWithFrame:CGRectZero];
    self.testlabel.frame = CGRectMake(0, 0, 300, 30);
    self.testlabel.center = self.view.center;
    self.testlabel.numberOfLines = 0;
    self.testlabel.text = @"我在测试如何复制粘贴你这个小家伙";
    
    [self.view addSubview:self.testlabel];
    
    self.testlabel.menuArray = @[@"oneItem",@"twoItem",@"threeItem"];
    self.testlabel.menuItemType = kSLMenuItemTypeCustom;
}


@end
